package com.game.majiang.algorithm.doudizhu;

import java.util.ArrayList;

public class DoudizhuAIRandomcardsAll {
	public ArrayList<DoudizhuAIRandomcards> cardsall = null;
	public ArrayList<DoudizhuAIRandomcards> cardsdizhu = null;
	public int huapai = 0;//0没有花牌  1 有花牌
	public void clone(DoudizhuAIRandomcardsAll o)
	{
		cardsall = new ArrayList<DoudizhuAIRandomcards>(o.cardsall);
		cardsdizhu = new ArrayList<DoudizhuAIRandomcards>(o.cardsdizhu);
		for(int i=0; i<cardsall.size(); i++)
		{
			cardsall.get(i).clone(o.cardsall.get(i));
		}
		for(int i=0; i<cardsdizhu.size(); i++)
		{
			cardsdizhu.get(i).clone(o.cardsdizhu.get(i));
		}
	}
}
